package com.greyu.ysj.service;

import java.util.List;

import com.greyu.ysj.entity.CbtAutoExchange;
import com.greyu.ysj.entity.CbtDraw;
import com.greyu.ysj.model.ResultModel;

public interface CbtAutoExchangeService {
	ResultModel save(CbtAutoExchange cbtAutoExchange);
	
	

	ResultModel updateCbtAutoExchange(Integer id, CbtAutoExchange cbtAutoExchange);
	
	//交易hash是否在表中进行存在
	boolean isHashExist(String hash);
	
	List<CbtAutoExchange> selectAll(CbtAutoExchange cbtAutoExchange);
	
	int countTodayByUserId(Integer userId);
	
	int selectMaxDrawId();

	
	
}
